import { View } from "@tarojs/components";
import { useEffect, useState } from "react";
import { AtSearchBar } from "taro-ui";

export default () => {
  const [value, SetValue] = useState<string>();

  return (
    <View className="SearchBarWrapper">
      <AtSearchBar
        value={value}
        onChange={(value, _) => {
          console.log(value);
        }}
      />
    </View>
  );
};
